package com.apimarket.service;

import com.apimarket.entity.SysMenu;
import com.apimarket.entity.vo.Node;
import com.github.pagehelper.PageInfo;

import javax.xml.rpc.ServiceException;
import java.util.List;
import java.util.Map;

public interface SysMenuService {
    PageInfo<Map<String, Object>> findObjects(Integer page,Integer pageSize) throws ServiceException;

    int deleteObject(Integer id) throws ServiceException;

    List<Node> findZtreeMenuNodes();

    int saveObject(SysMenu entity);

    int updateObject(SysMenu entity) throws ServiceException;

}
